package com.shop.front.vo.store;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import java.io.Serializable;
import java.math.BigDecimal;

@ApiModel("StoreOrderUserStatisticVo 用户订单数统计")
@Data
public class StoreOrderUserStatisticVo implements Serializable {

    @ApiModelProperty(value = "user_id", hidden = true)
    @Id
    @JSONField(serialize=false)
    private Long userId;

    @ApiModelProperty("待支付数量")
    @Column(name = "need_pay_num")
    private Integer needPayNum;

    @ApiModelProperty("待发货数量")
    @Column(name = "need_delivery_num")
    private Integer needDeliveryNum;

    @ApiModelProperty("待收货数量")
    @Column(name = "need_take_delivery_num")
    private Integer needTakeDeliveryNum;

    @ApiModelProperty("待评价数量")
    @Column(name = "need_evaluation_num")
    private Integer needEvaluationNum;

    @ApiModelProperty("已完成数量")
    @Column(name = "completed_num")
    private Integer completedNum;

    @ApiModelProperty("累计订单")
    @Column(name = "total_num")
    private Integer totalNum;

    @ApiModelProperty("总消费")
    @Column(name = "total_price")
    private BigDecimal totalPrice;

}